package cn.edu.xmu.oomall.customer.dao;


import cn.edu.xmu.oomall.customer.mapper.CartsPoMapper;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Repository;

@Slf4j
@Repository
@RefreshScope
@RequiredArgsConstructor
public class CartsDao {

    private final CartsPoMapper cartsPoMapper;

    public void delCartById(Long cartsId) {
        cartsPoMapper.deleteById(cartsId);
    }
}
